<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
    
    *{
        /* 取消所有（标签）（p,h1）的外边距，内边距 */
       margin: 0;
       padding: 0;
       box-sizing: border-box;
       /* 减去边距的长度 */
    }

    .one
    {
       background-image: url(./图片/小米平衡车.png);
       background-repeat: no-repeat;

        width: 400px;
        height: 400px;
        border:1px solid #ccc ;
        
        /* text-align: center; */
        

        /* 内边距 */
        padding: 42px 30px 0;
        /* 盒子居中 */
        margin: 50px auto;
    }
    
   .one h2
    {
     font-size: 30px;
     border-bottom: 1px solid #ccc;
     
     /*表示1倍 */
     line-height: 1;
     padding-bottom: 9px;
    } 

    .one li
    {
        height: 50px;
        border-bottom: 1px dashed #ccc;
        

        padding-left: 28px;

        line-height: 50px;

    }

    ul
    {
        list-style: none;

    }

    .one a
    {
        /* background-color: #666; */

        font-size: 18px;
         color: #666;
        text-decoration: none;
    }

    .one img
    {
        padding-left: 10px;
    }


    </style>
</head>
<body>

    <div class="one">
        
        <h2>我还有几个四年</h2>

        <ul>
        <li><a href="#">今天明天和后天</a></li>
        <li><a href="#">今天明天和后天</a></li>
        <li><a href="#">今天明天和后天</a></li>
        </ul>

        <!-- <img src="./图片/小米平衡车.png" width="150px"></img> -->
    </div>

</body>
</html>